package com.example.restful01.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.restful01.mapper.RegisterMapper;
import com.example.restful01.model.Register;
import com.example.restful01.model.User;
import com.example.restful01.service.RegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RegisterServiceImpl extends ServiceImpl<RegisterMapper, Register> implements RegisterService {

    @Autowired
    private RegisterMapper registerMapper;

    @Override
    public User isFind(Register register) {
        return registerMapper.isFind(register);
    }
}
